<?php /* Smarty version 3.1.24, created on 2015-09-27 17:24:41
         compiled from "/lanmp/www/eggmstest/public_html/mobile/templates/tvd/tvd.dwt" */ ?>
<?php
/*%%SmartyHeaderCode:19809944495607b5d99ba513_82617267%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '29666c8c292ed8d7ebba9002087f02ead0d2d62f' => 
    array (
      0 => '/lanmp/www/eggmstest/public_html/mobile/templates/tvd/tvd.dwt',
      1 => 1442225436,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '19809944495607b5d99ba513_82617267',
  'variables' => 
  array (
    'keywords' => 0,
    'description' => 0,
    'page_title' => 0,
    '__PUCM__' => 0,
    '__PUC__' => 0,
    'tvdInfo' => 0,
    'id' => 0,
    'commentList' => 0,
    'item' => 0,
    'tvdList' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.24',
  'unifunc' => 'content_5607b5d9a60258_92609233',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5607b5d9a60258_92609233')) {
function content_5607b5d9a60258_92609233 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '19809944495607b5d99ba513_82617267';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <meta name="Keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
" />
    <meta name="Description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
" />
    <title><?php echo $_smarty_tpl->tpl_vars['page_title']->value;?>
</title>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
css/my_style.css" />
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
css/tvd/tvd-text.css" />
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['__PUC__']->value;?>
js/jquery.js" ><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['__PUC__']->value;?>
js/jquery.json.js" ><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
js/mobile-common.js" ><?php echo '</script'; ?>
>
</head>
<body>
<?php echo '<script'; ?>
 type="text/javascript">
    autoWidth(640); //调用rem自适应函数
<?php echo '</script'; ?>
>
<div id="tvd-info">
    
    <div class="tvd-text">
        <blockquote class="quote">
        <?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['content'];?>

        </blockquote>
    </div>
    

    
    <div class="praise-share">
        <div class="content">
            <div class="iconlike <?php if ($_smarty_tpl->tpl_vars['tvdInfo']->value['iscollect']) {?>collect<?php } else { ?>uncollect<?php }?>" onclick="javascript:collect(<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
);"><em></em></div>
            <div class="bdsharebuttonbox" data-tag="share_1">
                <a class="bds_sqq" data-cmd="sqq" onclick="setShare(<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
);"></a>
                <a class="bds_tsina" data-cmd="tsina" onclick="setShare(<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
);"></a>
            </div>
        </div>
    </div>
    

    
    <div class="comment">
        <?php if (!empty($_smarty_tpl->tpl_vars['commentList']->value)) {?>
            <div class="top">热门评论
            </div>
            <div class="content">
                <?php
$_from = $_smarty_tpl->tpl_vars['commentList']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
?>
                <div class="box">
                    <img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['imgUrl'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['item']->value['user_name'];?>
">
                    <div class="right">
                        <div class="name"><?php echo $_smarty_tpl->tpl_vars['item']->value['user_name'];?>
</div>
                        <span class="com"><?php echo $_smarty_tpl->tpl_vars['item']->value['content'];?>
</span>
                    </div>
                </div>
                <?php
$_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
}
?>
            </div>
            <div class="more" onclick="getComment()">更多评价（<?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['commentNum'];?>
）</div>
        <?php } else { ?>
            <div class="top"  onclick="getComment()">
                <span>还没有人发表评论哦，快抢沙发！</span>
            </div>
        <?php }?>
    </div>
    

    
    <div class="guess-like">
        <div class="top">猜你喜欢</div>
        <div class="content">
            <?php
$_from = $_smarty_tpl->tpl_vars['tvdList']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
?>
            <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['url'];?>
" class="box">
                <div class="text"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</div>
                <img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['list_img'];?>
" alt="文章图片">
            </a>
            <?php
$_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
}
?>
        </div>
    </div>
    

    
    <div class="flow-bottom">
        <a class="last-step" href="javascript:history.back(-1)" title="上一步">
            <img src="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
img/tvd/last-step.png" alt="上一步">
        </a>
        <span class="praise3 <?php if ($_smarty_tpl->tpl_vars['tvdInfo']->value['iscollect']) {?>collect<?php } else { ?>uncollect<?php }?>" onclick="javascript:collect();">
            <em></em>
            <span class="click-num"><?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['praise'];?>
</span>
        </span>
        <a class="com" href="javascript:getComment();" title="评论">
            <img src="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
img/tvd/comment.png" alt="评论">
            <span class="com-num"><?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['commentNum'];?>
</span>
        </a>
        <span class="flow-share">
            <img src="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
img/tvd/flow-share.png" alt="分享">
        </span>
    </div>
    

    
    <div id="share-mask"></div>
    <div id="share-con">
        <div class="content">
            <div class="bdsharebuttonbox" data-tag="share_1">
                <a class="bds_tsina" data-cmd="tsina"><span>新浪微博</span></a>
                <a class="bds_sqq" data-cmd="sqq"><span>QQ空间</span></a>
                <a class="bds_douban" data-cmd="douban"><span>豆瓣</span></a>
                <a class="bds_renren" data-cmd="renren"><span>人人</span></a>
                <a class="bds_fbook" data-cmd="fbook"><span>Facebook</span></a>
                <a class="bds_twi" data-cmd="twi"><span>Twitter</span></a>
            </div>
        </div>
        <div class="close-share">取消</div>
    </div>
    
</div>
<div id="tvd-comt" class="none">
    <div id="header">
        <a id="backtrack" width="30" height="48" onclick="$('#tvd-comt').hide();$('#tvd-info').show();"></a>
        <span>评论</span>
    </div>
    <div class="comt-list">
    <div class="comment-list">

    </div>
    </div>
    
    <div class="inp-com">
        <input id="comment-text" type="text" name="keywords" value="" placeholder="我也评论一句" onfocus="comt_focus();" onchange="isComtent();" onblur="comt_blur();">
        <input type="hidden" id="at-user" value="" />
        <span onclick="setComment('<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
', $('#comment-text').val(), $('#at-user').val())">发送</span>
    </div>
    
</div>
<div id="mask" class="none"></div>
<?php echo '<script'; ?>
 type="text/javascript">
    var bdText = '<?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['title'];?>
';
    var bdDesc = '<?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['description'];?>
';
    var bdUrl = 'http://<?php echo $_SERVER['SERVER_NAME'];
echo $_SERVER['REQUEST_URI'];?>
';
    var bdPic = 'http://<?php echo $_SERVER['SERVER_NAME'];?>
/<?php echo $_smarty_tpl->tpl_vars['tvdInfo']->value['list_img'];?>
';
    var tvdId = '<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
';
<?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['__PUCM__']->value;?>
js/tvd/tvd.js"><?php echo '</script'; ?>
>
</body>
</html><?php }
}
?>